package com.feiyuan.movie.dao;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.feiyuan.movie.entity.MovieUserHistoryEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.feiyuan.movie.vo.MoviePlayerInfoVO;
import com.feiyuan.movie.vo.UserHistoryMovieVO;
import org.apache.ibatis.annotations.Mapper;

/**
 * 
 * 
 * @author Xupf
 * @email xupengfei131276@126.com
 * @date 2024-10-24 16:53:28
 */
@Mapper
public interface MovieUserHistoryDao extends BaseMapper<MovieUserHistoryEntity> {

    IPage<UserHistoryMovieVO> selectHistory(Page<MovieUserHistoryEntity> userHistoryEntityPage, Long userId);

    MoviePlayerInfoVO selectByUserHistoryId(Long userId, Long userHistoryId);
}
